#from ymodem.Socket import ModemSocket
from Socket import  ModemSocket
# define read
def read(size, timeout = 3):
    print(1)

# define write
def write(data, timeout = 3):
  print(1)

cli = ModemSocket(read, write)